﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using DotNetCore.CAP;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;

namespace WebService.Controllers
{
    [ApiController]
    [Route("[controller]")]
    public class WeatherForecastController : ControllerBase
    {
         
        public void CheckReceivedMessage(string msg)
        {
            Console.WriteLine(msg);
            System.Diagnostics.Debug.WriteLine($"接收到消息：{msg}");
        }
    }
}
